package com.lwj.framework.security.auth;

import com.lwj.framework.security.AuthUtils;
import org.springframework.security.oauth2.provider.OAuth2Authentication;

import com.lwj.framework.entity.AuthProperties;

public class OAuthUtils extends AuthUtils {

	public static boolean isStore(OAuth2Authentication authentication, AuthProperties authProperties) {
		String clientId = authentication.getOAuth2Request().getClientId();
		return isStoreClient(clientId, authProperties);
	}

}
